package Homework.Homework03;
/*
    用户消费信息类
 */
public class UserInformation {
    private int callTime; // 统计通话时长
    private int cellPhoneData; // 统计上网流量
    private int consume; // 每月消费金额

    public UserInformation() {
    }

    public UserInformation(int callTime, int cellPhoneData, int consume) {
        setCallTime(callTime);
        setCellPhoneData(cellPhoneData);
        setConsume(consume);
    }

    public int getCallTime() {
        return callTime;
    }

    public void setCallTime(int callTime) {
        this.callTime = callTime;
    }

    public int getCellPhoneData() {
        return cellPhoneData;
    }

    public void setCellPhoneData(int cellPhoneData) {

       this.cellPhoneData = cellPhoneData;
    }

    public int getConsume() {
        return consume;
    }

    public void setConsume(int consume) {
        this.consume = consume;
    }
}
